<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.telnet.TelnetOptionHandler类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pac-methods">包函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.telnet.TelnetOptionHandler类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>TelnetOptionHandler 类是用于实现 telnet 选项处理程序的基类。  
 <a href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.telnet.TelnetOptionHandler 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.png" usemap="#commonsNet.telnet.TelnetOptionHandler_map" alt=""/>
  <map id="commonsNet.telnet.TelnetOptionHandler_map" name="commonsNet.telnet.TelnetOptionHandler_map">
<area href="classcommonsNet_1_1telnet_1_1EchoOptionHandler.html" title="实现 telnet协议 echo选项" alt="commonsNet.telnet.EchoOptionHandler" shape="rect" coords="0,56,279,80"/>
<area href="classcommonsNet_1_1telnet_1_1SimpleOptionHandler.html" title="简单的选项处理程序，可用于不需要子协商的选项。" alt="commonsNet.telnet.SimpleOptionHandler" shape="rect" coords="289,56,568,80"/>
<area href="classcommonsNet_1_1telnet_1_1SuppressGAOptionHandler.html" title="实现telnet抑制继续选项" alt="commonsNet.telnet.SuppressGAOptionHandler" shape="rect" coords="578,56,857,80"/>
<area href="classcommonsNet_1_1telnet_1_1TerminalTypeOptionHandler.html" title="实现 telnet 终端类型选项" alt="commonsNet.telnet.TerminalTypeOptionHandler" shape="rect" coords="867,56,1146,80"/>
<area href="classcommonsNet_1_1telnet_1_1WindowSizeOptionHandler.html" title="实现 telnet 窗口大小选项" alt="commonsNet.telnet.WindowSizeOptionHandler" shape="rect" coords="1156,56,1435,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab9a7c85efdaba4385916a082ebc98676"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#ab9a7c85efdaba4385916a082ebc98676">init</a> (optcode: Int64, initlocal: Bool, initremote: Bool, acceptlocal: Bool, acceptremote: Bool)</td></tr>
<tr class="memdesc:ab9a7c85efdaba4385916a082ebc98676"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数：允许定义此选项的本地/远程激活所需的初始设置，以及在收到此选项的本地/远程激活请求时的行为。  <br /></td></tr>
<tr class="separator:ab9a7c85efdaba4385916a082ebc98676"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba17b6170d28e101670b4d79089a84f8"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#aba17b6170d28e101670b4d79089a84f8">answerSubnegotiation</a> (suboptionData: Array&lt;Int64&gt;, suboptionLength: Int64): ?Array&lt;Int64&gt;</td></tr>
<tr class="memdesc:aba17b6170d28e101670b4d79089a84f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">在接收到来自另一端的此选项的子协商时调用的方法。  <br /></td></tr>
<tr class="separator:aba17b6170d28e101670b4d79089a84f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a4dafaf56a76c4a27c32eb9ad68e23b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a5a4dafaf56a76c4a27c32eb9ad68e23b">getAcceptLocal</a> (): Bool</td></tr>
<tr class="memdesc:a5a4dafaf56a76c4a27c32eb9ad68e23b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示是否接受来自另一端的 DO 请求。  <br /></td></tr>
<tr class="separator:a5a4dafaf56a76c4a27c32eb9ad68e23b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83c5bb9428947b87c19920411a85d673"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a83c5bb9428947b87c19920411a85d673">getAcceptRemote</a> (): Bool</td></tr>
<tr class="memdesc:a83c5bb9428947b87c19920411a85d673"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示是否接受来自另一端的 WILL 请求。  <br /></td></tr>
<tr class="separator:a83c5bb9428947b87c19920411a85d673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80cd2193d13d9901ad2134e08b16d20b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a80cd2193d13d9901ad2134e08b16d20b">getInitLocal</a> (): Bool</td></tr>
<tr class="memdesc:a80cd2193d13d9901ad2134e08b16d20b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示在连接时是否向另一端发送 WILL 请求。  <br /></td></tr>
<tr class="separator:a80cd2193d13d9901ad2134e08b16d20b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84781cda546d6e22b3d101c136f1cd43"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a84781cda546d6e22b3d101c136f1cd43">getInitRemote</a> (): Bool</td></tr>
<tr class="memdesc:a84781cda546d6e22b3d101c136f1cd43"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示是否在连接时向另一端发送 DO 请求。  <br /></td></tr>
<tr class="separator:a84781cda546d6e22b3d101c136f1cd43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad13cc7594ce241f259cfa898a78b7133"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#ad13cc7594ce241f259cfa898a78b7133">getOptionCode</a> (): Int64</td></tr>
<tr class="memdesc:ad13cc7594ce241f259cfa898a78b7133"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取此选项的选项代码。  <br /></td></tr>
<tr class="separator:ad13cc7594ce241f259cfa898a78b7133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5839ebe2dbb6a4941369d3a7a46f8356"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a5839ebe2dbb6a4941369d3a7a46f8356">setAcceptLocal</a> (accept: Bool): Unit</td></tr>
<tr class="memdesc:a5839ebe2dbb6a4941369d3a7a46f8356"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置来自另一端的 DO 请求选项的行为。  <br /></td></tr>
<tr class="separator:a5839ebe2dbb6a4941369d3a7a46f8356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a7a44bd543f6ddc68740d877b16aab2"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a5a7a44bd543f6ddc68740d877b16aab2">setAcceptRemote</a> (accept: Bool): Unit</td></tr>
<tr class="memdesc:a5a7a44bd543f6ddc68740d877b16aab2"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置来自另一端的 WILL 请求选项的行为。  <br /></td></tr>
<tr class="separator:a5a7a44bd543f6ddc68740d877b16aab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cd4ca945cd8b2bff38ca18a80a0b8c8"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a7cd4ca945cd8b2bff38ca18a80a0b8c8">setInitLocal</a> (_init: Bool): Unit</td></tr>
<tr class="memdesc:a7cd4ca945cd8b2bff38ca18a80a0b8c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项是否在连接时发送 WILL 请求。  <br /></td></tr>
<tr class="separator:a7cd4ca945cd8b2bff38ca18a80a0b8c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af93c5f336cef9c09e6bfe4ce39e5dc5b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#af93c5f336cef9c09e6bfe4ce39e5dc5b">setInitRemote</a> (_init: Bool): Unit</td></tr>
<tr class="memdesc:af93c5f336cef9c09e6bfe4ce39e5dc5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项是否在连接时发送 DO 请求。  <br /></td></tr>
<tr class="separator:af93c5f336cef9c09e6bfe4ce39e5dc5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85dffeebdba1eaa8a5d2da8479afe84a"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a85dffeebdba1eaa8a5d2da8479afe84a">startSubnegotiationLocal</a> (): ?Array&lt;Int64&gt;</td></tr>
<tr class="memdesc:a85dffeebdba1eaa8a5d2da8479afe84a"><td class="mdescLeft">&#160;</td><td class="mdescRight">每当本地端确认此选项有效时（TelnetClient 发送 WILL，远程端发送 DO），都会调用此方法。  <br /></td></tr>
<tr class="separator:a85dffeebdba1eaa8a5d2da8479afe84a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4525f7e8b291c2d62d1193b639efa842"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a4525f7e8b291c2d62d1193b639efa842">startSubnegotiationRemote</a> (): ?Array&lt;Int64&gt;</td></tr>
<tr class="memdesc:a4525f7e8b291c2d62d1193b639efa842"><td class="mdescLeft">&#160;</td><td class="mdescRight">每当远程端确认此选项有效时（TelnetClient 发送 DO，远程端发送 WILL），都会调用此方法  <br /></td></tr>
<tr class="separator:a4525f7e8b291c2d62d1193b639efa842"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pac-methods" name="pac-methods"></a>
包函数</h2></td></tr>
<tr class="memitem:a9d186baeff3575f56bc61a0cfb52423d"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a9d186baeff3575f56bc61a0cfb52423d">getDo</a> (): Bool</td></tr>
<tr class="memdesc:a9d186baeff3575f56bc61a0cfb52423d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示发送到另一端的 DO 请求是否已被确认。  <br /></td></tr>
<tr class="separator:a9d186baeff3575f56bc61a0cfb52423d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af041e91ac0f7ecc2f81d6690c3f6feda"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#af041e91ac0f7ecc2f81d6690c3f6feda">getWill</a> (): Bool</td></tr>
<tr class="memdesc:af041e91ac0f7ecc2f81d6690c3f6feda"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取一个布尔值，指示发送到另一端的 WILL 请求是否已被确认。  <br /></td></tr>
<tr class="separator:af041e91ac0f7ecc2f81d6690c3f6feda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b70f96cd34647d3af8c26cd589f2834"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a6b70f96cd34647d3af8c26cd589f2834">setDo</a> (state: Bool): Unit</td></tr>
<tr class="memdesc:a6b70f96cd34647d3af8c26cd589f2834"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项，确定发送到另一端的 DO 请求是否已被确认。  <br /></td></tr>
<tr class="separator:a6b70f96cd34647d3af8c26cd589f2834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc0a165326fb40131171855172133958"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#acc0a165326fb40131171855172133958">setWill</a> (state: Bool): Unit</td></tr>
<tr class="memdesc:acc0a165326fb40131171855172133958"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此选项，确定发送到另一端的 WILL 请求是否已被确认。  <br /></td></tr>
<tr class="separator:acc0a165326fb40131171855172133958"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a235bc366ab1ffa275e82786c1ac30829"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a235bc366ab1ffa275e82786c1ac30829">var optionCode</a> = -1</td></tr>
<tr class="memdesc:a235bc366ab1ffa275e82786c1ac30829"><td class="mdescLeft">&#160;</td><td class="mdescRight">选项代码  <br /></td></tr>
<tr class="separator:a235bc366ab1ffa275e82786c1ac30829"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a711409cf0fb9f3203420eb696d3f6a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a2a711409cf0fb9f3203420eb696d3f6a">var initialLocal</a> : Bool</td></tr>
<tr class="memdesc:a2a711409cf0fb9f3203420eb696d3f6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果该选项应在本地激活，则为 true。  <br /></td></tr>
<tr class="separator:a2a711409cf0fb9f3203420eb696d3f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b2d87a72ebcdb923a4a6daa658c62a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a0b2d87a72ebcdb923a4a6daa658c62a7">var initialRemote</a> : Bool</td></tr>
<tr class="memdesc:a0b2d87a72ebcdb923a4a6daa658c62a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果该选项应在远程端激活，则为 true  <br /></td></tr>
<tr class="separator:a0b2d87a72ebcdb923a4a6daa658c62a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a495113da9d8295c57c675e09b77ad0e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a495113da9d8295c57c675e09b77ad0e7">var acceptLocal</a> : Bool</td></tr>
<tr class="memdesc:a495113da9d8295c57c675e09b77ad0e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果该选项应在本地接受，则为 true  <br /></td></tr>
<tr class="separator:a495113da9d8295c57c675e09b77ad0e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a289abfca2ae1fc0e28cb9d05e342f603"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a289abfca2ae1fc0e28cb9d05e342f603">var acceptRemote</a> : Bool</td></tr>
<tr class="memdesc:a289abfca2ae1fc0e28cb9d05e342f603"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果该选项应在远程端接受，则为 true  <br /></td></tr>
<tr class="separator:a289abfca2ae1fc0e28cb9d05e342f603"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99dd9106f15dae43123a6463feb73fc9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#a99dd9106f15dae43123a6463feb73fc9">var doFlag</a> : Bool = false</td></tr>
<tr class="memdesc:a99dd9106f15dae43123a6463feb73fc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果该选项在本地有效，则为 true  <br /></td></tr>
<tr class="separator:a99dd9106f15dae43123a6463feb73fc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad5ba628c23558def78362cbb86e75e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html#aad5ba628c23558def78362cbb86e75e8">var willFlag</a> : Bool = false</td></tr>
<tr class="memdesc:aad5ba628c23558def78362cbb86e75e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果该选项在远程端处于活动状态，则为 true  <br /></td></tr>
<tr class="separator:aad5ba628c23558def78362cbb86e75e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>TelnetOptionHandler 类是用于实现 telnet 选项处理程序的基类。 </p>
<p>TelnetOptionHandler 实现了基本的选项处理功能，并定义了必须实现的抽象方法来定义子协商行为。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ab9a7c85efdaba4385916a082ebc98676" name="ab9a7c85efdaba4385916a082ebc98676"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9a7c85efdaba4385916a082ebc98676">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.telnet.TelnetOptionHandler.init </td>
          <td>(</td>
          <td class="paramname"><em>optcode</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>initlocal</em>:&#160;</td>
          <td class="paramtype">Bool, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>initremote</em>:&#160;</td>
          <td class="paramtype">Bool, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>acceptlocal</em>:&#160;</td>
          <td class="paramtype">Bool, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>acceptremote</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数：允许定义此选项的本地/远程激活所需的初始设置，以及在收到此选项的本地/远程激活请求时的行为。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">optcode</td><td>- 选项代码 </td></tr>
    <tr><td class="paramname">initlocal</td><td>- 如果设置为 true，则连接时会发送 WILL。 </td></tr>
    <tr><td class="paramname">initremote</td><td>- 如果设置为 true，则连接时会发送 DO。 </td></tr>
    <tr><td class="paramname">acceptlocal</td><td>- 如果设置为 true，则接受任何 DO 请求。 </td></tr>
    <tr><td class="paramname">acceptremote</td><td>- 如果设置为 true，则接受任何 WILL 请求。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aba17b6170d28e101670b4d79089a84f8" name="aba17b6170d28e101670b4d79089a84f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba17b6170d28e101670b4d79089a84f8">&#9670;&#160;</a></span>answerSubnegotiation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func commonsNet.telnet.TelnetOptionHandler.answerSubnegotiation </td>
          <td>(</td>
          <td class="paramname"><em>suboptionData</em>:&#160;</td>
          <td class="paramtype">Array&lt;Int64&gt;, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>suboptionLength</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: ?Array&lt;Int64&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在接收到来自另一端的此选项的子协商时调用的方法。 </p>
<p>此实现返回 None，并且必须由实际的 TelnetOptionHandler 覆盖以指定必须为子协商请求发送哪个响应。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">suboptionData</td><td>- 收到的序列，不含 IAC SB 和 IAC SE </td></tr>
    <tr><td class="paramname">suboptionLength</td><td>- suboption_data 中数据的长度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>发送给子协商序列的响应。TelnetClient 将添加 IAC SB 和 IAC SE。null 表示无响应 </dd></dl>

</div>
</div>
<a id="a5a4dafaf56a76c4a27c32eb9ad68e23b" name="a5a4dafaf56a76c4a27c32eb9ad68e23b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a4dafaf56a76c4a27c32eb9ad68e23b">&#9670;&#160;</a></span>getAcceptLocal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.getAcceptLocal </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取一个布尔值，指示是否接受来自另一端的 DO 请求。 </p>
<dl class="section return"><dt>返回</dt><dd>如果接受 DO 请求，则返回 true。 </dd></dl>

</div>
</div>
<a id="a83c5bb9428947b87c19920411a85d673" name="a83c5bb9428947b87c19920411a85d673"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83c5bb9428947b87c19920411a85d673">&#9670;&#160;</a></span>getAcceptRemote()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.getAcceptRemote </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取一个布尔值，指示是否接受来自另一端的 WILL 请求。 </p>
<dl class="section return"><dt>返回</dt><dd>如果 WILL 请求被接受，则返回 true。 </dd></dl>

</div>
</div>
<a id="a9d186baeff3575f56bc61a0cfb52423d" name="a9d186baeff3575f56bc61a0cfb52423d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d186baeff3575f56bc61a0cfb52423d">&#9670;&#160;</a></span>getDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.TelnetOptionHandler.getDo </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取一个布尔值，指示发送到另一端的 DO 请求是否已被确认。 </p>
<dl class="section return"><dt>返回</dt><dd>如果发送给另一端的 DO 已经被确认，则为 true。 </dd></dl>

</div>
</div>
<a id="a80cd2193d13d9901ad2134e08b16d20b" name="a80cd2193d13d9901ad2134e08b16d20b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80cd2193d13d9901ad2134e08b16d20b">&#9670;&#160;</a></span>getInitLocal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.getInitLocal </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取一个布尔值，指示在连接时是否向另一端发送 WILL 请求。 </p>
<dl class="section return"><dt>返回</dt><dd>如果在连接时发送 WILL 请求，则为 true。 </dd></dl>

</div>
</div>
<a id="a84781cda546d6e22b3d101c136f1cd43" name="a84781cda546d6e22b3d101c136f1cd43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84781cda546d6e22b3d101c136f1cd43">&#9670;&#160;</a></span>getInitRemote()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.getInitRemote </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取一个布尔值，指示是否在连接时向另一端发送 DO 请求。 </p>
<dl class="section return"><dt>返回</dt><dd>如果在连接时要发送 DO 请求，则为 true。 </dd></dl>

</div>
</div>
<a id="ad13cc7594ce241f259cfa898a78b7133" name="ad13cc7594ce241f259cfa898a78b7133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad13cc7594ce241f259cfa898a78b7133">&#9670;&#160;</a></span>getOptionCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.getOptionCode </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取此选项的选项代码。 </p>
<dl class="section return"><dt>返回</dt><dd>选项代码 </dd></dl>

</div>
</div>
<a id="af041e91ac0f7ecc2f81d6690c3f6feda" name="af041e91ac0f7ecc2f81d6690c3f6feda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af041e91ac0f7ecc2f81d6690c3f6feda">&#9670;&#160;</a></span>getWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.TelnetOptionHandler.getWill </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取一个布尔值，指示发送到另一端的 WILL 请求是否已被确认。 </p>
<dl class="section return"><dt>返回</dt><dd>如果发送给另一方的 WILL 已经被确认，则为 true。 </dd></dl>

</div>
</div>
<a id="a5839ebe2dbb6a4941369d3a7a46f8356" name="a5839ebe2dbb6a4941369d3a7a46f8356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5839ebe2dbb6a4941369d3a7a46f8356">&#9670;&#160;</a></span>setAcceptLocal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.setAcceptLocal </td>
          <td>(</td>
          <td class="paramname"><em>accept</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置来自另一端的 DO 请求选项的行为。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">accept-如果为真，则后续</td><td>DO 请求将被接受。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5a7a44bd543f6ddc68740d877b16aab2" name="a5a7a44bd543f6ddc68740d877b16aab2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a7a44bd543f6ddc68740d877b16aab2">&#9670;&#160;</a></span>setAcceptRemote()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.setAcceptRemote </td>
          <td>(</td>
          <td class="paramname"><em>accept</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置来自另一端的 WILL 请求选项的行为。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">accept</td><td>- 如果为真，则后续 WILL 请求将被接受。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6b70f96cd34647d3af8c26cd589f2834" name="a6b70f96cd34647d3af8c26cd589f2834"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b70f96cd34647d3af8c26cd589f2834">&#9670;&#160;</a></span>setDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.TelnetOptionHandler.setDo </td>
          <td>(</td>
          <td class="paramname"><em>state</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置此选项，确定发送到另一端的 DO 请求是否已被确认。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>- 如果为真，则表示 <code class="JavaDocCode">DO</code> 请求已经被确认。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7cd4ca945cd8b2bff38ca18a80a0b8c8" name="a7cd4ca945cd8b2bff38ca18a80a0b8c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cd4ca945cd8b2bff38ca18a80a0b8c8">&#9670;&#160;</a></span>setInitLocal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.setInitLocal </td>
          <td>(</td>
          <td class="paramname"><em>_init</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置此选项是否在连接时发送 WILL 请求。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">init</td><td>- 如果为真，则在后续连接时将发送 WILL 请求。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af93c5f336cef9c09e6bfe4ce39e5dc5b" name="af93c5f336cef9c09e6bfe4ce39e5dc5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af93c5f336cef9c09e6bfe4ce39e5dc5b">&#9670;&#160;</a></span>setInitRemote()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.setInitRemote </td>
          <td>(</td>
          <td class="paramname"><em>_init</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置此选项是否在连接时发送 DO 请求。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">init</td><td>- 如果为真，则在后续连接时将发送 DO 请求。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acc0a165326fb40131171855172133958" name="acc0a165326fb40131171855172133958"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc0a165326fb40131171855172133958">&#9670;&#160;</a></span>setWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.TelnetOptionHandler.setWill </td>
          <td>(</td>
          <td class="paramname"><em>state</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置此选项，确定发送到另一端的 WILL 请求是否已被确认。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>- 如果为真，则表示 WILL 请求已经被确认。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a85dffeebdba1eaa8a5d2da8479afe84a" name="a85dffeebdba1eaa8a5d2da8479afe84a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85dffeebdba1eaa8a5d2da8479afe84a">&#9670;&#160;</a></span>startSubnegotiationLocal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func commonsNet.telnet.TelnetOptionHandler.startSubnegotiationLocal </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?Array&lt;Int64&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>每当本地端确认此选项有效时（TelnetClient 发送 WILL，远程端发送 DO），都会调用此方法。 </p>
<p>该方法用于指定激活选项时 TelnetClient 将发送的子协商序列。 此实现返回None，并且必须由实际的 TelnetOptionHandler 覆盖以指定必须为子协商请求发送哪个响应。</p>
<dl class="section return"><dt>返回</dt><dd>TelnetClient 将发送的子协商序列。TelnetClient 将添加 IAC SB 和 IAC SE。None表示没有子协商。 </dd></dl>

</div>
</div>
<a id="a4525f7e8b291c2d62d1193b639efa842" name="a4525f7e8b291c2d62d1193b639efa842"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4525f7e8b291c2d62d1193b639efa842">&#9670;&#160;</a></span>startSubnegotiationRemote()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.telnet.TelnetOptionHandler.startSubnegotiationRemote </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?Array&lt;Int64&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>每当远程端确认此选项有效时（TelnetClient 发送 DO，远程端发送 WILL），都会调用此方法 </p>
<p>该方法用于指定激活选项时 TelnetClient 将发送的子协商序列。 此实现返回 None，并且必须由实际的 TelnetOptionHandler 覆盖以指定必须为子协商请求发送哪个响应。</p>
<dl class="section return"><dt>返回</dt><dd>TelnetClient 将发送的子协商序列。TelnetClient 将添加 IAC SB 和 IAC SE。None表示没有子协商。 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a495113da9d8295c57c675e09b77ad0e7" name="a495113da9d8295c57c675e09b77ad0e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a495113da9d8295c57c675e09b77ad0e7">&#9670;&#160;</a></span>var acceptLocal</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.TelnetOptionHandler.var acceptLocal : Bool</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果该选项应在本地接受，则为 true </p>

</div>
</div>
<a id="a289abfca2ae1fc0e28cb9d05e342f603" name="a289abfca2ae1fc0e28cb9d05e342f603"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a289abfca2ae1fc0e28cb9d05e342f603">&#9670;&#160;</a></span>var acceptRemote</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.TelnetOptionHandler.var acceptRemote : Bool</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果该选项应在远程端接受，则为 true </p>

</div>
</div>
<a id="a99dd9106f15dae43123a6463feb73fc9" name="a99dd9106f15dae43123a6463feb73fc9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99dd9106f15dae43123a6463feb73fc9">&#9670;&#160;</a></span>var doFlag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.TelnetOptionHandler.var doFlag : Bool = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果该选项在本地有效，则为 true </p>

</div>
</div>
<a id="a2a711409cf0fb9f3203420eb696d3f6a" name="a2a711409cf0fb9f3203420eb696d3f6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a711409cf0fb9f3203420eb696d3f6a">&#9670;&#160;</a></span>var initialLocal</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.TelnetOptionHandler.var initialLocal : Bool</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果该选项应在本地激活，则为 true。 </p>

</div>
</div>
<a id="a0b2d87a72ebcdb923a4a6daa658c62a7" name="a0b2d87a72ebcdb923a4a6daa658c62a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b2d87a72ebcdb923a4a6daa658c62a7">&#9670;&#160;</a></span>var initialRemote</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.TelnetOptionHandler.var initialRemote : Bool</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果该选项应在远程端激活，则为 true </p>

</div>
</div>
<a id="a235bc366ab1ffa275e82786c1ac30829" name="a235bc366ab1ffa275e82786c1ac30829"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a235bc366ab1ffa275e82786c1ac30829">&#9670;&#160;</a></span>var optionCode</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.TelnetOptionHandler.var optionCode = -1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>选项代码 </p>

</div>
</div>
<a id="aad5ba628c23558def78362cbb86e75e8" name="aad5ba628c23558def78362cbb86e75e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad5ba628c23558def78362cbb86e75e8">&#9670;&#160;</a></span>var willFlag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.TelnetOptionHandler.var willFlag : Bool = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>如果该选项在远程端处于活动状态，则为 true </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/telnet/<a class="el" href="telnet__option__handler_8cj.html">telnet_option_handler.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1telnet.html">telnet</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html">TelnetOptionHandler</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
